package com.gym.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("admin")
public class Admin {
    @TableId(value = "admin_id",type = IdType.AUTO)
    private Integer adminId;
    @TableField("admin_name")
    private String adminName;
    @TableField("admin_pass")
    private String adminPass;
    @TableField("admin_phone")
    private String adminPhone;
    @TableField("admin_email")
    private String adminEmail;
    @TableField("admin_text")
    private String adminText;
}
